/**
 * Created by Administrator on 2018/6/1 0001.
 */
const mongoose = require('mongoose')

const authInfo = new mongoose.Schema({
    //用户id
    user_id:{
        type:String,
        required:true
    },
    //名字
    name:{
        type:String,
        default:''
    },
    //签名
    slogan:{
        type:String,
        default:''
    },
    //头像
    gravatar:{
        type:String,
        default:''
    },
})
const AuthInfo = mongoose.model('AuthInfo',authInfo)
module.exports = AuthInfo